﻿using System;
namespace ZY.Model
{
	/// <summary>
	/// 用户信息表
	/// </summary>
	[Serializable]
	public partial class Tab_Userinfo
	{
		public Tab_Userinfo()
		{}
		#region Model
		private int _uid;
		private int? _pid;
		private int? _rid;
		private int? _dp_id;
		private string _u_username;
		private string _u_password;
		private string _u_truename;
		private string _u_power;
		private string _u_mobilephone;
		private string _u_email;
		private string _u_address;
		private int? _u_state;
		private string _u_img;
		private int? _u_leve;
		private int? _u_sn;
		private string _u_note;
		private DateTime? _u_createtime;
		private DateTime? _u_lastime;
		private string _u_ext1;
		private string _u_ext2;
		private string _u_ext3;
		private string _u_ext4;
		/// <summary>
		/// 用户组件自增列
		/// </summary>
		public int uid
		{
			set{ _uid=value;}
			get{return _uid;}
		}
		/// <summary>
		/// 职位ID,外键引用
		/// </summary>
		public int? pid
		{
			set{ _pid=value;}
			get{return _pid;}
		}
		/// <summary>
		/// 角色ID，外键
		/// </summary>
		public int? rid
		{
			set{ _rid=value;}
			get{return _rid;}
		}
		/// <summary>
		/// 部门ID,外键
		/// </summary>
		public int? dp_id
		{
			set{ _dp_id=value;}
			get{return _dp_id;}
		}
		/// <summary>
		/// 用户登录名
		/// </summary>
		public string u_userName
		{
			set{ _u_username=value;}
			get{return _u_username;}
		}
		/// <summary>
		/// 用户密码
		/// </summary>
		public string u_password
		{
			set{ _u_password=value;}
			get{return _u_password;}
		}
		/// <summary>
		/// 用户姓名
		/// </summary>
		public string u_trueName
		{
			set{ _u_truename=value;}
			get{return _u_truename;}
		}
		/// <summary>
		/// 用户扩展权限
		/// </summary>
		public string u_power
		{
			set{ _u_power=value;}
			get{return _u_power;}
		}
		/// <summary>
		/// 用户手机号码
		/// </summary>
		public string u_mobilePhone
		{
			set{ _u_mobilephone=value;}
			get{return _u_mobilephone;}
		}
		/// <summary>
		/// 用户电子邮件
		/// </summary>
		public string u_email
		{
			set{ _u_email=value;}
			get{return _u_email;}
		}
		/// <summary>
		/// 用户地址
		/// </summary>
		public string u_address
		{
			set{ _u_address=value;}
			get{return _u_address;}
		}
		/// <summary>
		/// 用户状态 1为启用,0为禁用
		/// </summary>
		public int? u_state
		{
			set{ _u_state=value;}
			get{return _u_state;}
		}
		/// <summary>
		/// 头像
		/// </summary>
		public string u_img
		{
			set{ _u_img=value;}
			get{return _u_img;}
		}
		/// <summary>
		/// 用户等级
		/// </summary>
		public int? u_leve
		{
			set{ _u_leve=value;}
			get{return _u_leve;}
		}
		/// <summary>
		/// 数据库中的序列
		/// </summary>
		public int? u_sn
		{
			set{ _u_sn=value;}
			get{return _u_sn;}
		}
		/// <summary>
		/// 其他备注信息
		/// </summary>
		public string u_note
		{
			set{ _u_note=value;}
			get{return _u_note;}
		}
		/// <summary>
		/// 用户创建时间
		/// </summary>
		public DateTime? u_createtime
		{
			set{ _u_createtime=value;}
			get{return _u_createtime;}
		}
		/// <summary>
		/// 最后修改时间
		/// </summary>
		public DateTime? u_lastime
		{
			set{ _u_lastime=value;}
			get{return _u_lastime;}
		}
		/// <summary>
		/// 扩展字段
		/// </summary>
		public string u_ext1
		{
			set{ _u_ext1=value;}
			get{return _u_ext1;}
		}
		/// <summary>
		/// 扩展字段
		/// </summary>
		public string u_ext2
		{
			set{ _u_ext2=value;}
			get{return _u_ext2;}
		}
		/// <summary>
		/// 扩展字段
		/// </summary>
		public string u_ext3
		{
			set{ _u_ext3=value;}
			get{return _u_ext3;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string u_ext4
		{
			set{ _u_ext4=value;}
			get{return _u_ext4;}
		}
		#endregion Model

	}
}

